import {reactive, ref} from "vue"
import Taro from '@tarojs/taro'

let e = Taro.getSystemInfoSync()
let custom = wx.getMenuButtonBoundingClientRect()
export const system = reactive({
    StatusBar: e.statusBarHeight,
    custom,
    CustomBar: custom.bottom + custom.top - e.statusBarHeight,
    ...Taro.getSystemInfoSync()
})

